/* 图片区====================================== */
body {
    background-color: #ececec;
}
h1 {
    text-align: center;
    margin: 50px auto;
    color: #666;
}

#container {
    position: relative;
    width: 1226px;
    height: 460px;
    margin: 0 auto;
}

#carousel {
    position: relative;
    width: 1226px;
    height: 460px;
    margin: 0 auto;
}


.img-wrap {
    width: 1226px;
    height: 460px;
}

.img-wrap a {
    position: absolute;
    display: block;
    width: 1226px;
    height: 460px;
}

.img-wrap a:nth-child(1) {
    z-index: 999;
}




/* dot 原点列表区====================================== */
.dot-list {
    position: absolute;
    z-index: 1000;
    padding-right: 10px;
    padding-top: 7px;
    bottom: 40px;
    right: 40px;
    width: 108px;
    height: 26px;
}

.dot-list .dot-item {
    float: left;
    margin-left: 8px;
    width: 10px;
    height: 10px;
    background-color: #7c7c7c;
    border: 2px solid #c6c6c6;
    border-radius: 50%;
    cursor: pointer;
    transition: .05s ease-in;
}

.dot-item:hover {
    background-color: #e7e7e7;
    border-color: #787878;
}



/*?????????????????????????????????????????????????????????????*/
/* 为什么只写.active就不能实现切换效果 */
.dot-item.active {
    background-color: #e7e7e7;
    border-color: #787878;
}


/* switch 箭头切换图片区====================================== */
.switch {
    position: absolute;
    z-index: 1000;
    top: 190px;
    width: 41px;
    height: 69px;
    background: url('../img/carousel_switch_arrow.png') no-repeat;
    /* border: 1px solid red; */
}

/* left arrow */
.switch.left {
    left: 234px;
    background-position-x: -84px;
    cursor: pointer;
}
.switch.left:hover {
    background-position-x: 0px;
}

/* right arrow */
.switch.right {
    right: 0;
    background-position-x: -123px;
    cursor: pointer;
}
.switch.right:hover {
    background-position-x: -41px;
}